package com.xdap.pg.exam.entity;

import com.definesys.mpaas.query.annotation.Column;
import com.definesys.mpaas.query.annotation.Style;
import com.definesys.mpaas.query.annotation.Table;

import java.util.Objects;

@Table("site")
@Style(Upper2Underline = true)
public class Site extends AbstractBasePojo implements java.io.Serializable {

    private static final long serialVersionUID = 5655263198768211817L;

    @Column("Site_Name")
    private String siteName;

    public Site() {
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Site site = (Site) o;
        return Objects.equals(siteName, site.siteName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(siteName);
    }

    @Override
    public String toString() {
        return "Site{" +
                "siteName='" + siteName + '\'' +
                '}';
    }
}
